PEGetNthTableLocation

Use PEGetNthTableLocation to determine the location of a selected table used in the specified print job. This function is typically combined with PESetNthTableLocation to identify the location of a table and then to change it.

C Syntax
BOOL CRPE_API PEGetNthTableLocation (
        short printJob,
        short tableN,
        PETableLocation FAR *location );
Parameters

printJob

Specifies the print job from which you want to retrieve information about a table's location.

tableN

Specifies the 0-based number of the table for which you want to retrieve table location information. The first table is table 0. The last table is N-1.

location

Specifies the pointer to PETableLocation. The format of the string will be depend on the type of database specified.

Returns
VB Syntax

VB Sample Code for modifying database table settings

Declare Function PEGetNthTableLocation Lib "crpe32.dll" ( ByVal printJob 
As Integer, ByVal TableN As Integer, Location As PETableLocation ) As 
Integer
Delphi Syntax

Delphi code for getting/setting table location

function PEGetNthTableLocation(
    printJob: Word;
    tableN: integer;
    var location: PETableLocation
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com